]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
search-entry: Update hint text
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 18 Feb 2011 18:35:17 +0000 (19:35 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 19 Feb 2011 23:36:56 +0000 (00:36 +0100)
'Search your computer' is problematic for various reasons:
 - it specifies the kind of device
 - it focuses on local search (while we also do web search)
 - it does not advertise the instant search functionality

Change the hint text to 'Type to search' as proposed by Allan Day.

https://bugzilla.gnome.org/show_bug.cgi?id=642287

js/ui/viewSelector.js

index f59dccb877d73bd93b3648ddb537bdcc786a774f..be031b5417288735c573c07c88b558024719c2dd 100644 (file)
@@ -23,7 +23,11 @@ function SearchEntry(focusBase) {
 SearchEntry.prototype = {
     _init : function(focusBase) {
         this.actor = new St.Entry({ name: 'searchEntry',
-                                    hint_text: _("Search your computer"),
+                                    /* Translators: this is the text displayed
+                                       in the search entry when no search is
+                                       active; it should not exceed ~30
+                                       characters */
+                                    hint_text: _("Type to search..."),
                                     track_hover: true });
         this.entry = this.actor.clutter_text;